str = "okon is a boy"

new_str = str.replace("okon", "henry")
print(new_str)

#output
#henry is a boy